package com.liu.shop.common.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 自定义异常，业务异常处理
 */
@Data
@AllArgsConstructor
@NoArgsConstructor

/**
 * 全局业务异常
 */
public class BusinessException extends RuntimeException{
    private String msg;
    private int code = 567;
}
